home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / System7 tools / U-Z / Zing / Source / Util.h < prev    next >
Encoding:
Text File  |  1992-04-20  |  695 b   |  25 lines  |  [TEXT/KAHL]

  1. //    Util.h
  2. //    Ping 1.2
  3. //
  4. //    A neat hack © 1992 Jon Wätte (h+@nada.kth.se)
  5. //
  6. //    Freeware - permission granted to study & distribute free of charge,
  7. //    however, you may not sell this source or any derivate thereof, nor
  8. //    may you distribute modified source or a derivate thereof.
  9.  
  10. #pragma once
  11.  
  12. #define errStrings 129
  13. #define errNeedAppleEvents 1
  14.  
  15. #define ALRTGeneralAlert 129
  16.  
  17. #define Clear(x) BlockClear(&(x),sizeof(x))
  18. #define Fatal(e) FatalError((e),__FILE__,__LINE__)
  19.  
  20. void BlockClear ( void * , long ) ;
  21. void FatalError ( short , char * , int ) ;
  22. long strlen ( char * s ) ;
  23. void GetUserName ( unsigned char * name ) ;
  24. unsigned char * AddPBuf ( unsigned char * dst , unsigned char * src ) ;
  25.